<?php 
include_once(''.P.'/public/header.html');
?>

<script type="text/javascript" src="res/bootstrapplugin/jquery-bootstable.js"></script>
<script type="text/javascript" src="res/menu/jquery-rockmenu.js"></script>
<link rel="stylesheet" type="text/css" href="res/menu/jquery-rockmenu.css">


<script>

function initbody(){
	
	table = $('#viewshow').bootstable({
		url:'index.php?d=plat&m=system&a=dataloginjl',method:'get',fanye:true,
		tablename:'6',cellurl:'w',
		columns:[{
			text:'uid',dataIndex:'uid',sortable:true
		},{
			text:'来源',dataIndex:'cfrom',sortable:true
		},{
			text:'登录token',dataIndex:'token',renderer:function(v){
				return ''+v.substr(0,4)+'****';
			}
		},{
			text:'登录时间',dataIndex:'adddt',sortable:true
		},{
			text:'最后时间',dataIndex:'moddt',sortable:true
		},{
			text:'IP',dataIndex:'ip'
		},{
			text:'浏览器',dataIndex:'web'
		},{
			text:'device',dataIndex:'device'
		},{
			text:'APP推送',dataIndex:'ispush',type:'checkbox'
		},{
			text:'说明',dataIndex:'explain'
		},{
			text:'id',dataIndex:'id',sortable:true
		},{
			text:'',dataIndex:'opts',renderer:function(s,d){
				return '<a class="zhu" href="javascript:;" onclick="deleterecord('+d.id+',6,false)">删</a>';
			}
		}]
		
		
	});
}
</script>
</head>

<body>

<?php 
include_once(''.P.'/public/top_plat.html');
?>

<div align="center">

<div style="width:<?=$maxwidth?>;margin:20px 0px" align="left">
	<div style="color:#cccccc">
		<a href="?d=plat" class="zhu"><?=lang('plat.home')?></a> &gt;
		<a href="" class="zhu"><?=lang('admin.logintitle')?></a>
	</div>
	<div class="mainbody">
		<div style="padding:10px">
			
			<div id="viewshow"></div>
			
		</div>
		<div class="blank10"></div>
	</div>
</div>



<?php 
include_once(''.P.'/public/footer.html');
?>
</div>

</body>
</html>